#pragma once

struct CCommandTemplate
{
	explicit CCommandTemplate(const tstring& str);
	tstring Process(const vector<tstring>& args) const;

private:
	
	tstring  m_App;
	tstring m_Params;

	typedef vector<tstring>::const_iterator tstring_it;
	typedef tstring::const_iterator         tchar_it;

	static const TCHAR chQuoteSpace[];

	static const TCHAR chNine    = _T('9');
	static const TCHAR chPercent = _T('%');
	static const TCHAR chQuote   = _T('"');
	static const TCHAR chSpace   = _T(' ');
	static const TCHAR chStar    = _T('*');
	static const TCHAR chZero    = _T('0');
};
